package com.zhixun.mobile.modules.edu.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alipay.client.security.MD5Signature;
import com.alipay.client.util.EncodeUtils;
import com.boxin.framework.base.dao.DaoHelper;
import com.zhixun.mobile.common.utils.EncryptUtils;


/**
 * @author Administrator
 * @date 2014-2-26
 * @function <p> ��Ʒ������ </p>
 */
@Service
public class EduService {
	
	@Autowired
	DaoHelper daoHelper;
	
	

/**
 * 查询课程表一周最大天数
 *@author xiaoqian
 * @param params
 * @return
 * 2014-4-21上午10:56:41
 */
	public List<Map<String,Object>> getSyllabusMaxWeek(Map<String,Object> params){
		return (List<Map<String,Object>>)daoHelper.queryForList("com.zhixun.mobile.edu.selectSyllabusMaxWeek", params);
	}
	
	/**
	 * 查询十天内作业的情况
	 *@author xiaoqian
	 * @param params
	 * @return
	 * 2014-4-22上午9:41:25
	 */
	public List<Map<String,Object>> getHomeWorkByDate(Map<String,Object> params){
		return (List<Map<String,Object>>)daoHelper.queryForList("com.zhixun.mobile.edu.selectHomeWorkByDate", params);
	}
	
	/**
	 * 获得作业的天数
	 *@author xiaoqian
	 * @param params
	 * @return
	 * 2014-4-22上午9:56:31
	 */
	public List<Map<String,Object>> selectHomeWorkDate(Map<String,Object> params){
		return (List<Map<String,Object>>)daoHelper.queryForList("com.zhixun.mobile.edu.selectHomeWorkDate", params);
	}
	
	

}
